<template>
    <div class="lxrList" v-for="(item, index) of lxrList" :key="index">
        <div class="info_input">
            <span class="font_color">姓名：</span>
            <span>{{ item.lxfs }}</span>
        </div>
        <div class="info_input">
            <span class="font_color">性别：</span>
            <span>{{item.sbdjr}}</span>
        </div>
        <div class="info_input">
            <span class="font_color">生日：</span>
            <span>{{item}}</span>
        </div>
        <div class="info_input">
            <span class="font_color">部门：</span>
            <span>{{item.xxsydd}}</span>
        </div>
    </div>
</template>

<script setup>
import { ref, watch, toRefs, onMounted } from 'vue';
import { getContactList } from '@/api/company.js';
import { useRouter } from 'vue-router';
const router = new useRouter();

const projectList = ref([])
const getProject = async () => {
  const { code, data } = await getContactList({
    currentPage: 1,
    pageSize: 20,
    companyId: ''
  });
  if (code === 200) {
    projectList.value = data.list;
  }
}

onMounted(() => {
    getProject()
})

</script>

<style lang="scss" scoped>

</style>